<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<html>
<head>
<title>添加店铺分类</title>
<script>
    $("#form_submit").click(function(){
    //                alert("提交动作");
    $("#product_form").submit();
    });
    </script>
</head>
<body>
<div class="navigation">
    <div class="crumbs ">
        <i class="tm-iconfont icon-info"></i>
        <a href="#">卖家中心</a><span>&gt;</span><a href="#200">店铺管理</a><span>&gt;</span><a href="${ctx}/shop_category">店铺分类管理</a><span>&gt;</span>添加店铺分类
    </div>
    <div class="help">
        <a href="#" target="_blank">卖家交易学习专区</a>
    </div>
</div>
<form:form modelAttribute="WxShopCategoryModel" action="${ctx}/add/shop_category" method="post" id="product_form">
<div class="c oh">
    <div class="u_tableform">
        <div class="item">
            <label class="label">分类名：<span>*</span></label>
            <div class="cont_txt">
                <form:input path="categoryName" type="text" cssClass="text w240"  placeholder="分类名:"  ></form:input>
                <form:errors path="categoryName" type="text" cssClass="text w240" ></form:errors>
                <%--<input type="text" class="text w240"/>--%>
            </div>
        </div>
        <div class="item">
            <label class="label">优先等级：<span>*</span></label>
            <div class="cont_txt">
                <form:input path="orderNum" type="text" cssClass="text w240"  placeholder="优先等级:"  ></form:input>
                <form:errors path="orderNum" type="text" cssClass="text w240" ></form:errors>
                <%--<input type="text" class="text w240"/>--%>
                <span class="p-l10 c-999999">数字越大优先等级越高</span>
            </div>
        </div>
        <div class="item m-t10">
            <label class="label">&nbsp;</label>
            <div class="cont_txt">
                <button id="form_submit" class="i_btn u2 p-lr50">添加店铺分类</button><a href="${ctx}/shop_category" class="p-l10 c-999999">返回店铺分类管理</a>
            </div>
        </div>
    </div>
    <div class="p-lr20">

    </div>
</div>
</form:form>
</body>